package com.esd.crm.service;

import java.util.List;

import com.esd.crm.entity.User;
import com.esd.vo.PageUtil;
import com.github.pagehelper.PageInfo;

public interface UserService {
	public User getUserInfo(String userId);

	public boolean insertSelective(User user);
	
	public boolean deleteById(String userId);
	
	public boolean updateByPrimaryKeySelective(User user);
	
	public List<User> findAll(User user);
	
	public PageInfo<User> findByPage(User user, PageUtil page);

	public User findOneByUserName(String username);

	public boolean deleteBatch(String[] idArray);



}
